package h_eekwan.module;

public class P_Employee extends Person {
	private String depart;
	private String hiredate;
	private String sal;
	
	public P_Employee(String name, String age, String addr, String depart,
			String hiredate, String sal) {
		super(name, age, addr);
		this.depart = depart;
		this.hiredate = hiredate;
		this.sal = sal;
	}
	public String getDepart() {
		return depart;
	}
	public void setDepart(String depart) {
		this.depart = depart;
	}
	public String getHiredate() {
		return hiredate;
	}
	public void setHiredate(String hiredate) {
		this.hiredate = hiredate;
	}
	public String getSal() {
		return sal;
	}
	public void setSal(String sal) {
		this.sal = sal;
	}
	@Override
	public String toString() {
		return "P_Employee [depart=" + depart + ", hiredate=" + hiredate
				+ ", sal=" + sal + ", getName()=" + getName() + ", getAge()="
				+ getAge() + ", getAddr()=" + getAddr() + ", getNo()="
				+ getNo() + ", getRegdate()=" + getRegdate() + "]";
	}

	
	
}
